package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 car_position
 * 
 * @author ruoyi
 * @date 2022-03-22
 */
public class CarPositionReportInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String loginId;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    private String serialNumber;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String state;

    /** 登记单位 */
    @Excel(name = "登记单位")
    private String company;

    /** 进场日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "进场日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date comeTime;

    /** 离场日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离场日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outTime;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNumber;

    /** 驾驶员 */
    @Excel(name = "驾驶员")
    private String driveName;

    /** 驾驶证号 */
    @Excel(name = "驾驶证号")
    private String driveCardId;

    /** 押运员 */
    @Excel(name = "押运员")
    private String escortName;

    /** 押运员证号 */
    @Excel(name = "押运员证号")
    private String escortCardId;

    /** 挂车号 */
    @Excel(name = "挂车号")
    private String trailerCardId;

    /** 行驶证 */
    @Excel(name = "行驶证")
    private String drivingLicenseCard;

    /** 危险货物运输证 */
    @Excel(name = "危险货物运输证")
    private String dangerCardId;

    /** 车辆所属公司 */
    @Excel(name = "车辆所属公司")
    private String carCompany;

    /** 车辆最大载重 */
    @Excel(name = "车辆最大载重")
    private String maxLoad;

    /** 发货单位 */
    @Excel(name = "发货单位")
    private String forwardingUnit;

    /** 收货单位 */
    @Excel(name = "收货单位")
    private String receivingUnit;

    /** 出发地 */
    @Excel(name = "出发地")
    private String originPlace;

    /** 通行路线 */
    @Excel(name = "通行路线")
    private String trafficRoute;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date examineTime;

    /** 通行时间（由进场日期和离场日期自动算出） */
    @Excel(name = "通行时间", readConverterExp = "由=进场日期和离场日期自动算出")
    private String passLoadTime;

    /** h5 */
    @Excel(name = "hpage", readConverterExp = "h5")
    private String hpage;

    // 类型
    private String reserveType;

    // 车位区域 ID
    private String reserveId;

    // 车位区域名称
    private String reserveName;

    private String reportType;


    private String freight;
    private String remarks;
    private String phone;
    private String examineOpinion;
    private String orderNo;
    private String keepTime;
    private String policy;
    private String department;
    private String carType;
    private String unitName;
    private String mainContent;
    private String peerPersonnel;
    private String reasonDeactivation;






    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setLoginId(String loginId) 
    {
        this.loginId = loginId;
    }

    public String getLoginId() 
    {
        return loginId;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Date getComeTime() {
        return comeTime;
    }

    public void setComeTime(Date comeTime) {
        this.comeTime = comeTime;
    }

    public Date getOutTime() {
        return outTime;
    }

    public void setOutTime(Date outTime) {
        this.outTime = outTime;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getDriveName() {
        return driveName;
    }

    public void setDriveName(String driveName) {
        this.driveName = driveName;
    }

    public String getDriveCardId() {
        return driveCardId;
    }

    public void setDriveCardId(String driveCardId) {
        this.driveCardId = driveCardId;
    }

    public String getEscortName() {
        return escortName;
    }

    public void setEscortName(String escortName) {
        this.escortName = escortName;
    }

    public String getEscortCardId() {
        return escortCardId;
    }

    public void setEscortCardId(String escortCardId) {
        this.escortCardId = escortCardId;
    }

    public String getTrailerCardId() {
        return trailerCardId;
    }

    public void setTrailerCardId(String trailerCardId) {
        this.trailerCardId = trailerCardId;
    }

    public String getDrivingLicenseCard() {
        return drivingLicenseCard;
    }

    public void setDrivingLicenseCard(String drivingLicenseCard) {
        this.drivingLicenseCard = drivingLicenseCard;
    }

    public String getDangerCardId() {
        return dangerCardId;
    }

    public void setDangerCardId(String dangerCardId) {
        this.dangerCardId = dangerCardId;
    }

    public String getCarCompany() {
        return carCompany;
    }

    public void setCarCompany(String carCompany) {
        this.carCompany = carCompany;
    }

    public String getMaxLoad() {
        return maxLoad;
    }

    public void setMaxLoad(String maxLoad) {
        this.maxLoad = maxLoad;
    }

    public String getForwardingUnit() {
        return forwardingUnit;
    }

    public void setForwardingUnit(String forwardingUnit) {
        this.forwardingUnit = forwardingUnit;
    }

    public String getReceivingUnit() {
        return receivingUnit;
    }

    public void setReceivingUnit(String receivingUnit) {
        this.receivingUnit = receivingUnit;
    }

    public String getOriginPlace() {
        return originPlace;
    }

    public void setOriginPlace(String originPlace) {
        this.originPlace = originPlace;
    }

    public String getTrafficRoute() {
        return trafficRoute;
    }

    public void setTrafficRoute(String trafficRoute) {
        this.trafficRoute = trafficRoute;
    }

    public Date getExamineTime() {
        return examineTime;
    }

    public void setExamineTime(Date examineTime) {
        this.examineTime = examineTime;
    }

    public String getPassLoadTime() {
        return passLoadTime;
    }

    public void setPassLoadTime(String passLoadTime) {
        this.passLoadTime = passLoadTime;
    }

    public String getHpage() {
        return hpage;
    }

    public void setHpage(String hpage) {
        this.hpage = hpage;
    }

    public String getReserveType() {
        return reserveType;
    }

    public void setReserveType(String reserveType) {
        this.reserveType = reserveType;
    }

    public String getReserveId() {
        return reserveId;
    }

    public void setReserveId(String reserveId) {
        this.reserveId = reserveId;
    }

    public String getReserveName() {
        return reserveName;
    }

    public void setReserveName(String reserveName) {
        this.reserveName = reserveName;
    }

    public String getReportType() {
        return reportType;
    }

    public void setReportType(String reportType) {
        this.reportType = reportType;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getExamineOpinion() {
        return examineOpinion;
    }

    public void setExamineOpinion(String examineOpinion) {
        this.examineOpinion = examineOpinion;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getKeepTime() {
        return keepTime;
    }

    public void setKeepTime(String keepTime) {
        this.keepTime = keepTime;
    }

    public String getPolicy() {
        return policy;
    }

    public void setPolicy(String policy) {
        this.policy = policy;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getMainContent() {
        return mainContent;
    }

    public void setMainContent(String mainContent) {
        this.mainContent = mainContent;
    }

    public String getPeerPersonnel() {
        return peerPersonnel;
    }

    public void setPeerPersonnel(String peerPersonnel) {
        this.peerPersonnel = peerPersonnel;
    }

    public String getReasonDeactivation() {
        return reasonDeactivation;
    }

    public void setReasonDeactivation(String reasonDeactivation) {
        this.reasonDeactivation = reasonDeactivation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("loginId", getLoginId())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("createTime", getCreateTime())
            .toString();
    }
}
